He is sailing close to the wind by ignoring the safety regulations.
Он ходит по краю, игнорируя правила безопасности.
Definitions
Sailing close to the wind refers to the practice of navigating a sailboat as close as possible to the direction from which the wind is coming, often implying a risky or daring approach to a situation, where one is operating at the edge of what is permissible or safe.